#ifndef CRC_H
#define CRC_H

/* #define crcword unsigned short */	/* if CRCBITS is 16 */
/* #define crcword unsigned short */	/* if CRCBITS is 16 */

#ifdef __alpha
#define crcword unsigned int		/* if CRCBITS is 24 or 32 */
#else
#define crcword unsigned long		/* if CRCBITS is 24 or 32 */
#endif

extern crcword crcbytes(byte *buf, unsigned len, register crcword accum);
extern void init_crc(void);

#define CRCINIT 0xB704CEL		/* Init value for CRC accumulator */

#endif /* #ifdef CRC_H */
